<table cellpadding="2" cellspacing="1" width="98%">
	<input type="hidden" name="setting[type]" value="mediumtext">
    <tr> 
        <td width="160">默认值：</td>
        <td><textarea name="setting[defaultvalue]" rows="2" cols="20" id="defaultvalue" style="height:100px;width:99%"><?php echo $setting['defaultvalue']; ?></textarea></td>
    </tr>
    <tr> 
        <td>是否保存远程图片：</td>
        <td><input type="radio" name="setting[enablesaveimage]" value="1" title=" 是 " <?php if ($setting['enablesaveimage'] == 1) echo 'checked'; ?>><input type="radio" name="setting[enablesaveimage]" value="0" title=" 否 " <?php if ($setting['enablesaveimage'] == 0) echo 'checked'; ?>></td>
    </tr>
    <tr> 
        <td>编辑器默认高度：</td>
        <td>
            <div class="layui-input-inline" style="width: 80px;">
                <input type="text" name="setting[height]" value="<?php echo isset($setting['height']) ? $setting['height'] : '200'; ?>" size="4" class="layui-input">
            </div>
            <div class="layui-input-inline" style="width: 80px;">
            px
            </div>
        </td>
    </tr>
    <td>字段类型</td>
    <td>
        <div class="layui-input-inline" style="width: 250px;">
            <select name="setting[fieldtype]">
                <option value="text" <?php if ($setting['fieldtype'] == 'text') echo 'selected'; ?>>小型字符型(TEXT)</option>
                <option value="mediumtext" <?php if ($setting['fieldtype'] == 'mediumtext') echo 'selected'; ?>>中型字符型(MEDIUMTEXT)</option>
                <option value="longtext" <?php if ($setting['fieldtype'] == 'longtext') echo 'selected'; ?>>大型字符型(LONGTEXT)</option>
            </select>
        </div>
    </td>
</table>